package com.xwh.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xwh.core.entity.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.Setter;

/**
 * @author xwh
 **/

@Entity
@Getter
@Setter
public class SysFtp extends BaseEntity {

    @Id
    @TableId(type = IdType.ASSIGN_ID)
    @Column(length = 20)
    String ftpId;

    @Column(length = 50)
    String ftpName;

    @Column(length = 50)
    String ftpHost;

    @Column(length = 50)
    String ftpPort;

    @Column(length = 50)
    String ftpUsername;

    @Column(length = 50)
    String ftpPassword;

    @Column(length = 50)
    String ftpPath;

    @Column(length = 50)
    String ftpUrl;

    @Column(length = 50)
    String ftpStatus;
}
